<?php

namespace App\Models\Customer;

use App\Models\Video;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;

class Follow extends Model
{
    protected $table = 'follow_video';

    protected $fillable = ['video_id', 'author_id'];

    public function video()
    {
        return $this->belongsTo(Video::class, 'video_id', 'id');
    }
}
